/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package it.polimi.registration.gui.security;

import it.polimi.registration.business.security.entity.BadWeatherNotification;
import java.io.Serializable;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

/**
 *
 * @author Luca
 */
@Named
@RequestScoped
public class BadWeatherBean implements Serializable {
    
    
    
    public void viewBadWeather(BadWeatherNotification bwn){
            bwn.setSeen(Boolean.TRUE);
        }
}
